import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './guard'
import staticroutes from './staticroutes'
import dynamicroutes from './dynamicroutes'
for(let route of staticroutes.concat(dynamicroutes)){
    // console.log(route)
    router.addRoute(route)
}

export default router
